package com.xyzwps.example.stream;

public class JustStream<T> extends Stream<T> {

    private final ArrayStream<T> delegate;

    public JustStream(T... ts) {
        this.delegate = new ArrayStream<>(ts);
    }

    @Override
    public Parcel<T> next() {
        return delegate.next();
    }
}
